package org.boot.event;

import org.springframework.context.ApplicationEvent;

public class BaseEvent<T> extends ApplicationEvent {

    private T param;

    public BaseEvent() {
        super("");
    }

    public T getParam() {
        return param;
    }

    public void setParam(T param) {
        this.param = param;
    }

    public BaseEvent(Object source, T param) {
        super(source);
        this.param = param;
    }

}
